﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BankLibrary
{
    [Serializable]
    public class Record
    {
        public int Account { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public decimal Balance { get; set; }

        public Record()
            : this(0, string.Empty, string.Empty, 0m)
        {
            
        }

        public Record(int accountValue, string firstNameValue, string lastNameValue, decimal balanceValue)
        {
            Account = accountValue;
            FirstName = firstNameValue;
            LastName = lastNameValue;
            Balance = balanceValue;
        }
    }
}
